﻿@page "/cluster/noder"
<div class="loading"></div>
<iframe class="cluster" src="/iToolDashboard/#/silos" style="width:100%; height:100%"></iframe>
<style>
main{
    padding: 0 !important;
    margin-top: 0 !important;
}
.loading{
    width:100%; 
    height:100%;
    background:#fff;
}
</style>

@code {
    WindowsHelper windows;
    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        windows = windows ?? new WindowsHelper(jSRuntime);
        await windows.HideLoadingAsync();
        await windows.HideAsync(".loading",200);
    }
}

